#include "bsp_laser.h"
#include "main.h"

extern TIM_HandleTypeDef htim3;
<<<<<<< HEAD
=======

/* 开启激光 */
>>>>>>> f733ccc (麦轮步兵底盘跟随云台性能与摩擦轮转速稳定性提升 拨弹键位修改)
void laser_on(void)
{
    __HAL_TIM_SetCompare(&htim3, TIM_CHANNEL_3, 8399);
}
<<<<<<< HEAD
=======

/* 关闭激光 */
>>>>>>> f733ccc (麦轮步兵底盘跟随云台性能与摩擦轮转速稳定性提升 拨弹键位修改)
void laser_off(void)
{
    __HAL_TIM_SetCompare(&htim3, TIM_CHANNEL_3, 0);
}
